package com.zzyang.cloud.controller;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.UUID;

/**
 * TODO
 *
 * @author zhuoziyang
 * @date 2020/10/25 16:39
 */
@RestController
public class PaymentController {

    @Value("${server.port}")
    private String port;


    @GetMapping("/payment/get")
    public String get() {
        return "springcloud eureka port:" + port + UUID.randomUUID();
    }

}
